package com.competitions.easydubbing.service;

import com.alibaba.fastjson.JSONObject;
import com.competitions.easydubbing.entity.Result;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author Mapler
 * @since 2021-5-20
 */
public interface UserService {

    ResponseEntity<Result> register(JSONObject data);

    ResponseEntity<Result> login(JSONObject data);

    ResponseEntity<Result> findUserInfo(JSONObject data);

    ResponseEntity<Result> updateUserData(JSONObject data);

    ResponseEntity<Result> updateAvatar(int uid,MultipartFile multipartFile);
}
